package api

import (
	"gin_cli/controllers/v1"

	"github.com/gin-gonic/gin"
)

func Device(apiv1 *gin.RouterGroup) {
	apiv1.GET("/device/device_number/:device_no", new(v1.Device).GetByDeviceNo)
	apiv1.GET("/device/store/:store_id/devices", new(v1.Device).GetList)

}
